package cn.lili.modules.promotion.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.promotion.client.RedPackGoodsClient;
import cn.lili.modules.promotion.entity.dos.RedPackGoods;
import cn.lili.modules.promotion.entity.dto.search.RedPackGoodsSearchParams;
import cn.lili.modules.promotion.entity.vos.RedPackGoodsVO;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-13 19:28
 * @description: 积分商品Fallback
 */
public class RedPackGoodsFallback implements RedPackGoodsClient {
  @Override
  public boolean saveRedPackGoodsBatch(List<RedPackGoods> promotionsList) {
    throw new ServiceException();
  }

  @Override
  public RedPackGoodsVO getRedPackGoodsDetail(String id) {
    throw new ServiceException();
  }

  @Override
  public RedPackGoodsVO getRedPackGoodsDetailBySkuId(String skuId) {
    throw new ServiceException();
  }

  @Override
  public void updateById(RedPackGoodsVO redPackGoodsVO) {
    throw new ServiceException();
  }

  @Override
  public Boolean deleteRedPackGoods(RedPackGoodsSearchParams redPackGoodsSearchParams) {
    throw new ServiceException();
  }
}
